package org.shopen.ai.puremvc.controller.startup
{
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	import org.shopen.ai.puremvc.view.common.AboutWindowMediator;
	import org.shopen.ai.puremvc.view.AiMediator;
	import org.shopen.ai.puremvc.view.common.ErrorWindowMediator;

	public class PrepViewCommand extends SimpleCommand
	{
		override public function execute(notification:INotification):void
		{
			facade.registerMediator(new AiMediator(notification.getBody() as Ai));
			facade.registerMediator(new AboutWindowMediator(notification.getBody()));
			facade.registerMediator(new ErrorWindowMediator(notification.getBody()));
		}
	}
}